optional

fun optional(name: String): ReadOnlyProperty<Any?, String?>

Get an optional delegate for name.

val optional: ReadOnlyProperty<Any?, String?>

Get an optional delegate. Property names will be converted to snake-case unless name is specified.